<div class="pagination pagination-centered ">
	<ul>
		<#if page.pageNumber gt 1>
			<li><a href="${ctx!}/${pageUrl!}/1-${pageFlag}"  alt="首页">首页</a></li>
			<li><a href="${ctx!}/${pageUrl!}/${page.pageNumber-1}-${pageFlag}" >上一页</a></li>
		<#else>
			<li><a href="javascript:void(0);" >首页</a></li>
			<li><a href="javascript:void(0);" >上一页</a></li>
		</#if>
		
		<#if page.totalPage == 0>
			<li><a href="javascript:void(0);" class="btn active">0</a></li>
		<#elseif page.totalPage lte 10>
			<#list 1..page.totalPage as a>
				<li <#if page.pageNumber = a>class="active"</#if>><a href="${ctx!}/${pageUrl!}/${a}-${pageFlag}">${a}</a></li>
			</#list>
		<#else>
			<#list (page.totalPage-10)..page.totalPage as a>
				<li <#if page.pageNumber = a>class="active"</#if>><a href="${ctx!}/${pageUrl!}/${a}-${pageFlag}">${a}</a></li>
			</#list>
		</#if>
		
		<#if page.pageNumber lt page.totalPage>
			<li><a href="${ctx!}/${pageUrl!}/${page.pageNumber+1}-${pageFlag}" >下一页</a></li>
			<li><a href="${ctx!}/${pageUrl!}/${page.totalPage}-${pageFlag}" >尾页</a></li>
		<#else>
			<li><a href="javascript:void(0);" >下一页</a></li>
			<li><a href="javascript:void(0);" >尾页</a></li>
		</#if>
	</ul>
</div>